package com.atwisdom.star.common.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelImportHeader {
    //所属模型类型
    private String model;
    //类名
    private String className;
    //type
    private String type;
    //是否为导入hier_instance中
    private boolean hierFlag;
    //hier中的容器id
    private long containerId;
    //hier中的parentId
    private String parentId;
    //数据表并没有
    private Map<String, String> headerMapping;
    //导入数据验证规则
    private List<ImportValidationRule> rules;
    //数据表并没有
    private Map<String, Object> initValues;
    private Map<String, Object> initHierValues;
    //关联数据信息
    private List<ImportJoinInfo> join;
    //本地选项
    private JSONObject localOption;
    private List<String> jsonFields;
    private List<String> arrayFields;
}
